import Vue from 'vue'
import VueRouter from 'vue-router'
Vue.use(VueRouter)
import login from '@/view/login'

const router = new VueRouter({
    routes:[
       { path:'/login',
        component:login},
        {path:'/',redirect:'/login'}

    ]
})
export default router